package com.hnucm.c202001020216.pojo;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;


@NoArgsConstructor
@Data
public class Comment implements Serializable {

    @SerializedName("msg")
    public String msg;
    @SerializedName("code")
    public Integer code;
    @SerializedName("userCommentList")
    public List<UserCommentListDTO> userCommentList;

    @NoArgsConstructor
    @Data
    public static class UserCommentListDTO implements Serializable{
        @SerializedName("id")
        public Integer id;
        @SerializedName("carId")
        public Integer carId;
        @SerializedName("userId")
        public Integer userId;
        @SerializedName("userName")
        public String userName;
        @SerializedName("commentPic")
        public String commentPic;
        @SerializedName("commentContent")
        public String commentContent;
        @SerializedName("commentLike")
        public Integer commentLike;
        @SerializedName("commentCollect")
        public Integer commentCollect;
    }
}
